package com.zhang.modules.mianShi.entity.cmd.region;

import com.zhang.common.jpa.entity.AddCmd;
import com.zhang.modules.mianShi.entity.Region;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * A DTO for the {@link Region} entity
 */
@Data
public class RegionAddCmd implements Serializable , AddCmd {
    @NotBlank(message = "区域编码不能为空")
    @ApiModelProperty("区域编码")
    private  String regionCode;

    @NotBlank(message = "区域名称不能为空")
    @ApiModelProperty("区域名称")
    private  String regionName;

    @NotBlank(message = "机组id不能为空")
    @ApiModelProperty("机组id")
    private  String machineGroupId;
}